<div ng-controller="TingclassCtrl" ng-init="addAction()">
    <ul class="sui-breadcrumb">
        <li><a href="#/tingclass/list">{{'课程详情'| translate}}</a></li>
        <li>{{'List'|translate}}
            <!-- <a href="#/tingclass/add" id="addNew" class="sui-btn btn-primary">+{{'add_new' | translate}}</a> -->
        </li>
    </ul>
    <table class="sui-table table-bordered">
        <thead>
            <tr>
                <th>{{'id'|translate}}</th>
                <th>{{'孩子'|translate}}</th>
                <th>{{'用时'|translate}}</th>
                <th>{{'得分'|translate}}</th>
                <th>{{'听写时间'|translate}}</th>
            </tr>
        </thead>
        <tbody>
            <tr>
                <td>
                    {{classDetail.ting_class_id}}
                </td>
                <td>
                    <child-get ng-model="classDetail.ting_chid_id"></child-get>
                </td>
                <td>
                    {{classDetail.sec}}
                </td>
                <td>
                    {{classDetail.score}}
                </td>
                <td>
                    {{classDetail.update_at}}
                </td>
            </tr>
        </tbody>
    </table>
    <span>听写单词详情</span>
    <table class="sui-table table-bordered">
        <thead>
            <tr>
                <th>{{'id'|translate}}</th>
                <th>{{'单词'|translate}}</th>
                <th>{{'听写次数'|translate}}</th>
                <th>{{'错误次数'|translate}}</th>
            </tr>
        </thead>
        <tbody>
            <tr ng-repeat="list in classDetail.class_word">
                <td>
                    {{list.ting_class_word_id}}
                </td>
                <td>
                    {{list.word}}
                </td>
                <td>{{list.times}}</td>
                <td>
                    {{list.mtimes}}
                </td>
            </tr>
        </tbody>
    </table>
    <!-- 分页start -->
    <pager page-no="1 " page-size="page_Size " total="total_count " get-data="getlist(pageNo) "></pager>
    <!-- 分页end -->
</div>